package org.icsdt.sp.domain;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName="PERITO")
public class Perito implements IEntidade {

    @DatabaseField(id = true)
    public int id;

    @DatabaseField
    public String nome;

    @DatabaseField
    public String matricula;

    @DatabaseField(canBeNull = false, foreign = true)
    public Secao secao;
   
    public Perito(){}

    @Override
    public String toString() {
	return this.nome;
    }
}
